//function flashWrite(url,w,h,id,bg,vars,win){
//	var flashStr=
//	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
//	"<param name='allowScriptAccess' value='always' />"+
//	"<param name='movie' value='"+url+"' />"+
//	"<param name='FlashVars' value='"+vars+"' />"+
//	"<param name='wmode' value='"+win+"' />"+
//	"<param name='menu' value='false' />"+
//	"<param name='quality' value='high' />"+
//	"<param name='bgcolor' value='"+bg+"' />"+
//	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
//	"</object>";
//	document.write(flashStr);

//}



	
//function bluring(){
//if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") 
//document.body.focus();
//}
//document.onfocusin=bluring;



//var ie4 = (document.all) ? true : false; 
//var ns4 = (document.layers) ? true : false; 
//var ns6 = (document.getElementById && !document.all) ? true : false; 
//function hidelayer(lay) { 
//if (ie4) {document.all[lay].style.visibility = "hidden";} 
//if (ns4) {document.layers[lay].visibility = "hide";} 
//if (ns6) {document.getElementById([lay]).style.display = "none";} 
//} 
//function showlayer(lay) { 
//if (ie4) {document.all[lay].style.visibility = "visible";} 
//if (ns4) {document.layers[lay].visibility = "show";} 
//if (ns6) {document.getElementById([lay]).style.display = "block";} 
//} 
//function writetolayer(lay,txt) { 
//if (ie4) { 
//document.all[lay].innerHTML = txt; 
//} 
//if (ns4) { 
//document[lay].document.write(txt); 
//document[lay].document.close(); 
//} 
//if (ns6) { 
//over = document.getElementById([lay]); 
//range = document.createRange(); 
//range.setStartBefore(over); 
//domfrag = range.createContextualFragment(txt); 
//while (over.hasChildNodes()) { 
//over.removeChild(over.lastChild); 
//} 
//over.appendChild(domfrag); 
//   } 
//}

$(function () {
    $('.bannerThumb').carouFredSel({
        prev: '.prev',
        next: '.next',
        auto: false
    });
    $('.spot .frame ul.list').carouFredSel({
        prev: '.prev_spot',
        next: '.next_spot',
        auto: false
    });
    $('.product_related_content_list ul.list').carouFredSel({
        prev: '.prev_prod',
        next: '.next_prod',
        auto: false
    });

    $('.reviewsection ul.list').carouFredSel({
        prev: '.arr_left',
        next: '.arr_right',
        transition: false,
        responsive: true,
        items:1,
        auto: false
    });

    $('.right-runner .viewed ul.slide').carouFredSel({
        prev: '.viewed-up',
        next: '.viewed-down',
        transition: false,
        items: 3,
        direction: "up",
        height: "120px",
        width: "100%",
        auto: false
    });
})